﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace JMT.Controls.Elements
{
    public interface IJBox
    {
        JMT.Data.JModel ClassModel { get; }
        Data.JElement ElementModel { get; }
        Rect GetRect();
        Point GetLinkPos(int direction);
        Point GetCenterPos();
        void SetPos(Point pos);
        event Action UpdateLayout;
        ClassDiagram Diagram { get; set; }
    }
}
